import React from "react"
import { useRoutes, BrowserRouter } from "react-router-dom"
import { router } from "./router"
const App = () => {
  const El = () => useRoutes(router)
  return (
    <BrowserRouter>
      <El></El>
    </BrowserRouter>
  )
}

export default App
